home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / fh_dz32.zip / DZ.TXT < prev   
Text File  |  1994-12-19  |  4KB  |  136 lines

  1.  
  2.                 DZ       v 3.2 
  3.  
  4.                              Fredrik Holmberg
  5.                                  94-12-19
  6.  
  7. Introduction:
  8.     DZ shows the size of subdirectories in the current directory. Every
  9.     subdirectory will be completely scanned for files. For example
  10.     was the following output created by DZ in my D:\SRC directory.
  11.  
  12.  
  13.        Mb  0 Kb      2 Mb      4 Mb      6 Mb      8 Mb      10 Mb
  14. COMM       0.0 │         │         │         │         │         │         │
  15. TSR        0.0 │         │         │         │         │         │         │
  16. TMP        0.1 │         │         │         │         │         │         │
  17. MISC       0.1 │         │         │         │         │         │         │
  18. SYS        0.2 ▒         │         │         │         │         │         │
  19. SB         0.2 ▒         │         │         │         │         │         │
  20. MULTITSK   0.7 ▒▒▒       │         │         │         │         │         │
  21. ASM        0.9 ▒▒▒▒      │         │         │         │         │         │
  22. GRAPH      1.5 ▒▒▒▒▒▒▒   │         │         │         │         │         │
  23. PCGPE      3.0 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒     │         │         │         │         │
  24. SWG        8.7 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒       │         │
  25.  
  26. 13 dir    15.85 Mb                            v3.2 Fredrik Holmberg 94-12-19
  27.  
  28.  
  29.  
  30. Installation:
  31.     The file DZ.EXE should be put somewhere in the PATH, like in the
  32.     \DOS directory.
  33.  
  34.  
  35. Program parameters:
  36.     There are several ways to alter the function of DZ. Parameters is
  37.     recieved by DZ from the commandline and from any DZPARAMS environ
  38.     string.    Following parameters are allowed.
  39.     You may use /parameter instead of -parameter.
  40.  
  41.     Sorting : -d -r -u determines the sorting order
  42.         -d  Smallest directory first, default
  43.         -r  Reversed, smallest directory last
  44.         -u  Unsorted, DOS FAT order.
  45.  
  46.     Scale : -sA -sa -sM -so -sk determines the scale of the figure.
  47.             One row is 10 characters wide, see the figure in the
  48.             Introduction.
  49.         -sA Autoscale with nice numbers, default
  50.         -sa Autoscale, the largest directory will almost fill
  51.             the screen
  52.         -sM Megabyte scale, one row equals 1 Mb
  53.         -so v1.0 scale, one row equals 3.3 Mb, full line = 20 Mb
  54.         -sk Kilobyte scale, one row equals 40 Kb
  55.  
  56.     Screen: -vb -vc -vr[c] -vi# -vj# alters the screen output.
  57.         -vb Black and white output to standard output. The output can
  58.             be piped or directed to files with | and > .
  59.         -vc Color output with direct video. Default.
  60.         -vr[c] Change block character to [c]. Default is -vr▒ .
  61.         -vi# Change block color to #. Default is -vi10 .
  62.         -vj# Change scale color to #. Default is -vi2 .
  63.  
  64.     Other :
  65.         -p more, pause after every 25 lines
  66.         -P No more, default
  67.         -l Raw list, list name and size for further processing. The
  68.            list is sent to standard output and can be piped to other
  69.            programs. The format is DIRNAME+tab+size+CR. All screen
  70.            and scale parameters will be ignored.
  71.         -h -? Brief help
  72.  
  73.     Examples:
  74.         DZ -u -vb -vr*    Gives a none color, unsorted figure with
  75.                 bars drawn with stars.
  76.         DZ -vb > lpt1:    Sends the figure to LPT1.
  77.  
  78.  
  79. Environment string:
  80.         You can set options in the DZPARAMS environ string to override
  81.         the default settings.
  82.  
  83.         SET DZPARAMS=-r -vb     This command will set reversed sorting
  84.                     and no color to default.
  85.         SET DZPARAMS=           This will restore default settings.
  86.  
  87.         You can put the SET DZPARAMS=... in your AUTOEXEC.BAT.
  88.         Commandline parameters overrides DZPARAMS parameters.
  89.  
  90. Bugs:
  91.         No bugs, I think, but...
  92.         1    Max 255 subdirectories in every directory is allowed
  93.         2    LONGNAME.DIR will be truncated to LONGNAME.
  94.  
  95. History:
  96.     v1.0    Winter 1993    First version!
  97.     v2.0    Spring 1994    New: autoscale, help, raw list options.
  98.     v3.0    94-10-22    New: color / bw switch, output with more,
  99.                         DZPARAMS.
  100.     v3.01    94-10-23    CR at end of lines instead of line wrap.
  101.     v3.02     94-11-19    Fixed some bugs
  102.     v3.1    94-12-03    New: / or -, -Cx, -sA
  103.                 Fixed: Line overflow with directory
  104.                     names like LONGNAME.DIR .
  105.     v3.2     94-12-19    New: -vb,-vc,-vr[c],-vi#,-vj#,-P
  106.                 Fixed: Autoscale -sA  will now choose an even
  107.                     better scale than in 3.1 .
  108.  
  109.  
  110.  
  111.  
  112. Notes:
  113.         Free for all to use and copy!
  114.         Use on your own risk.
  115.         DZ was programmed in C.
  116.  
  117.         You can report bugs and ideas by e-mail to me:
  118.  
  119.             fred-hol@dsv.su.se
  120.  
  121.         or mail to
  122.  
  123.             Fredrik Holmberg
  124.             Tornrosvagen 20
  125.             182 75  Stocksund
  126.             Sweden
  127.  
  128.  
  129.  
  130. // Fredrik Holmberg 1994
  131.  
  132.  
  133.  
  134.  
  135.  
  136.